
<!doctype html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0"/>
    <meta name="keywords" content="" />
    <meta name="description" content="" />
    <link rel="stylesheet" href="/static/default/wx/css/amazeui.min.css">
    <link rel="stylesheet" href="/static/default/wx/css/wap.css?2">
    <#include "/wx/inc.ftl"/>
    <title>${view.title}</title>
</head>
<body>

<#include "/wx/header.ftl"/>

<div data-am-widget="gotop" class="am-gotop am-gotop-fixed">
    <a href="#top" title="">
        <img class="am-gotop-icon-custom" src="/static/default/wx/img/goTop.png" />
    </a>
</div>


<div class="pet_mian" id="top">
    <div class="pet_content" style="padding-top:0px;">
        <div class="pet_content_block">
            <article data-am-widget="paragraph" class="am-paragraph am-paragraph-default pet_content_article" data-am-paragraph="{ tableScrollable: true, pureview: true }">
                <h1 class="pet_article_title">${view.title}</h1>
                <div class="pet_article_user_time">发表于：${timeAgo(view.created)}</div>

                <div class="am-slider am-slider-default" data-am-flexslider id="demo-slider-0">
                    <ul class="am-slides">
                        <#if plist??>
                            <#list plist as pdata>
                                <li><img src="http://pbl71lr73.bkt.clouddn.com/${(pdata)!}?imageView2/1/w/270/h/162" /></li>
                            </#list>
                        </#if>
                    </ul>
                </div>
                ${view.content}
            </article>
            <ul class="like_share_block">
                <li><a class="link_share_button" href="###"><i class="iconfont share_ico_link">&#xe62f;</i>${view.views}</a></li>
                <#--<li><a class="link_share_button" href="###"><i class="iconfont share_ico_wx">&#xe630;</i>微信</a></li>-->
                <#--<li><a class="link_share_button" href="###"><i class="iconfont share_ico_pyq">&#xe62e;</i>朋友圈</a></li>-->
            </ul>
        </div>
    </div>
    <#--<div style="text-align: center;margin-left:20px;">-->
        <#--<script type="text/javascript">var jd_union_unid="2714",jd_ad_ids="512:6",jd_union_pid="CMOhtIDNLBCaFRoAIITArZkFKgA=";var jd_width=375;var jd_height=280;var jd_union_euid="";var p="AhAPURlfFQYWBGVEH0hfIlgRRgYlXVZaCCsfSlpMWGVEH0hfIngAWEVyYEJcNXwtYHpSQTFtB292bVFZF2sVABsOURxYFAQWN1YdWxAyIlgRRgYlSXwGZUQfSF8iB1EZWBAKGw5THl8SBiIGZStr";</script><script type="text/javascript" charset="utf-8" src="//u-x.jd.com/static/js/auto.js"></script>-->
    <#--</div>-->
    <#include "/wx/footer.ftl"/>

</div>

<#include "/wx/htmleaf.ftl"/>

<script src="/static/default/wx/js/jquery.min.js"></script>
<script src="/static/default/wx/js/amazeui.min.js"></script>
<script src="/static/default/wx/js/common.js"></script>
<script>
    $(function(){

        $(".jdAdLogo").each(function (index,item) {
            console.log("========");
           $(this).empty();
        });
        // $("#jdAdRow").parent().css("padding-left",0);

        var $slider = $('#demo-slider-0');

        // 动态计算新闻列表文字样式
        auto_resize();
        $(window).resize(function() {
            auto_resize();
        });
        $('.am-list-thumb img').load(function(){
            auto_resize();
        });
        $('.pet_article_like li:last-child').css('border','none');
        function auto_resize(){
            $('.pet_list_one_nr').height($('.pet_list_one_img').height());
            // alert($('.pet_list_one_nr').height());
        }
        $('.pet_article_user').on('click',function(){
            if($('.pet_article_user_info_tab').hasClass('pet_article_user_info_tab_show')){
                $('.pet_article_user_info_tab').removeClass('pet_article_user_info_tab_show').addClass('pet_article_user_info_tab_cloes');
            }else{
                $('.pet_article_user_info_tab').removeClass('pet_article_user_info_tab_cloes').addClass('pet_article_user_info_tab_show');
            }
        });

        $('.pet_head_gd_ico').on('click',function(){
            $('.pet_more_list').addClass('pet_more_list_show');
        });
        $('.pet_more_close').on('click',function(){
            $('.pet_more_list').removeClass('pet_more_list_show');
        });
    });

</script>
</body>
</html>
